package org.smartcti.freeswitch.inbound.event;

import java.util.Date;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

public abstract class BaseInboundEvent implements InboundEvent{
	private String coreUUID;
	private Date eventDateLocal;
	private String eventCallingFile;
	private String eventCallingFunction;
	private Integer eventCallingLineNumber;
	private Date dateReceived;
	private String freeSWITCHIPv4;
	
	
	
	
	public BaseInboundEvent() {
		super();
		this.dateReceived = new Date();
	}
	public String getCoreUUID() {
		return coreUUID;
	}
	public void setCoreUUID(String coreUUID) {
		this.coreUUID = coreUUID;
	}
	public Date getEventDateLocal() {
		return eventDateLocal;
	}
	public void setEventDateLocal(Date eventDateLocal) {
		this.eventDateLocal = eventDateLocal;
	}
	
	public String getEventCallingFile() {
		return eventCallingFile;
	}
	public void setEventCallingFile(String eventCallingFile) {
		this.eventCallingFile = eventCallingFile;
	}
	public String getEventCallingFunction() {
		return eventCallingFunction;
	}
	public void setEventCallingFunction(String eventCallingFunction) {
		this.eventCallingFunction = eventCallingFunction;
	}
	public Integer getEventCallingLineNumber() {
		return eventCallingLineNumber;
	}
	public void setEventCallingLineNumber(Integer eventCallingLineNumber) {
		this.eventCallingLineNumber = eventCallingLineNumber;
	}
	
	
	 @Override
     public String toString() {
             return ReflectionToStringBuilder.toString(this,ToStringStyle.MULTI_LINE_STYLE);
     }
	public Date getDateReceived() {
		return dateReceived;
	}
	public void setDateReceived(Date dateReceived) {
		this.dateReceived = dateReceived;
	}
	
	public String getFreeSWITCHIPv4() {
		return freeSWITCHIPv4;
	}
	public void setFreeSWITCHIPv4(String freeSWITCHIPv4) {
		this.freeSWITCHIPv4 = freeSWITCHIPv4;
	}
	
	
	

}
